package com.ugoodtech.mdcc.core.domain;

/* Copyright (C) Ugoodtech, Inc - All Rights Reserved.
 * Unauthorized copying of this file, via any medium is strictly prohibited.
 * Proprietary and confidential.
 * Written by Stone Shaw.
 */

import javax.persistence.*;

@Entity
@Table(name = "open_id_param")
public class OpenIdParam extends BaseEntity {

    private String openId;
    private String user_token;
    private String user_loginBool;
    private String client_token;
    private String client_loginBool;
    private String accessTokenBody;

    public void setUnionId(String unionId) {
        this.unionId = unionId;
    }

    public String getUnionId() {
        return unionId;
    }

    private String unionId;




    @Column(unique = true)
    public String getOpenId() {
        return openId;
    }

    public void setOpenId(String openId) {
        this.openId = openId;
    }

    public String getUser_token() {
        return user_token;
    }

    public void setUser_token(String user_token) {
        this.user_token = user_token;
    }

    public String getUser_loginBool() {
        return user_loginBool;
    }

    public void setUser_loginBool(String user_loginBool) {
        this.user_loginBool = user_loginBool;
    }

    public String getClient_token() {
        return client_token;
    }

    public void setClient_token(String client_token) {
        this.client_token = client_token;
    }

    public String getClient_loginBool() {
        return client_loginBool;
    }

    public void setClient_loginBool(String client_loginBool) {
        this.client_loginBool = client_loginBool;
    }

    @Column(length = 5000)
    public String getAccessTokenBody() {
        return accessTokenBody;
    }

    public void setAccessTokenBody(String accessTokenBody) {
        this.accessTokenBody = accessTokenBody;
    }
}
